body,
html {
  padding: 0;
  margin: 0;
}


.mt5 {
  margin-top: 5px;
}

.mt10 { margin-top: 10px;}

#header {
  font-size: var(--chun-font-size-h5);
}

.logo img {
  height: 40px;
}

.ant-layout-sider { 
  box-sizing: border-box;
}

.ant-menu-inline, .ant-menu-vertical, .ant-menu-vertical-left { border-right: none;}
 
.toprightNavHover {
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: 30px;
  line-height: 30px;
  vertical-align: middle;
  cursor: pointer;
  align-items: center;
}

.search_result {
  max-height: 60vh;
  overflow-y: scroll;
  padding: 0 15px;
}

.search_result ul {
  margin: 0;
  padding: 0;
}

.search_result ul li {
  margin-top: 5px;
  list-style: none;
  padding: 0 10px;
}

.search_result ul li h2 span {
  font-size: 16px;
}



#content .ant-modal-body {
  padding: 0 0 10px 0;
}

.navicon {
  margin-top: 5px;
  margin-left: 5px;
  margin-right: 5px;
  float: left;
}

#header .ant-switch {
  vertical-align: baseline;
}

#header .ant-input-affix-wrapper {
  width: 140px;
  padding: 0px 5px;
  vertical-align: middle;
  border: none;
  border-radius: 25px;
  background-color: #ccc;
  height: 32px;
}

#header .ant-input-affix-wrapper:focus,
.ant-input-affix-wrapper-focused {
  box-shadow: none;
}

#header .ant-input-affix-wrapper .ant-input {
  background-color: transparent;
}


.diyButtons {    }
#footer {
  text-align: center;
  vertical-align: middle;
}

.ant-layout-footer {
  padding: 20px;
  height: 70px;
}

.configmenutree { padding: 10px;}

.doc-previewer {
  width: 100% !important;
  max-width: 1200px;
  margin: auto;
  display: flex;
  position: relative !important;
  padding: 10px !important;
  min-height: calc(100vh - 140px) !important;
  border-left: none !important;
  overflow-y:visible !important;
}

.doc-previewer .doc-card {
  width: calc(100% - 250px);
  padding: 0 10px;
}

.title_nav {
  box-sizing: border-box;
  position: sticky;
  top: 10px;
  padding: 0 10px;
  width: 250px;
  height: calc(100% - 200px); 
}

.title_nav p {
  padding: 0;
  margin-bottom: 6px;
}

.totop {
  position: fixed;
  bottom: 100px;
  right: 300px;
  cursor: pointer;
  padding: 10px 10px 5px 10px;
  border-radius: 5px;
}

#content {
  max-height: calc(100vh - 64px);
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.content-loading {
  width: 100%;
  min-height: 90vh;
  padding-top: 30vh;
  text-align: center;
  background-color: transparent;
  height: 100%;
}
 

.cherry-previewer {
  padding: 20px 20px;
}

.cherry-previewer p {
  font-size: var(--chun-font-size-p);
}

.cherry-previewer h1 {
  font-size: var(--chun-font-size-h1);
}

.cherry-previewer h2 {
  font-size: var(--chun-font-size-h2);
}

.cherry-previewer h3 {
  font-size: var(--chun-font-size-h3);
}

.cherry-previewer h4 {
  font-size: var(--chun-font-size-h4);
}

.cherry-previewer h5 {
  font-size: var(--chun-font-size-h5);
}

.cherry-previewer h6 {
  font-size: var(--chun-font-size-h6);
}
  
 

.cherry-previewer .tip-header {
  height: 40px;
  color: currentColor;
  margin: 0;
  padding: 0;
  font-size: 22px;
}

.cherry-previewer .tip-header svg {
  float: left;
  margin-top: 3px;
}

.cherry-previewer .tip-header span {
  float: left;
  margin-left: 5px;
}

/*  float: left; margin-left: 5px;  */

.cherry-previewer .info,
.cherry-previewer .error,
.cherry-previewer .success,
.cherry-previewer .warning {
  padding: 5px 10px;
  margin-bottom: 10px;
  border-radius: 3px;
  border-left-width: 5px;
  border-left-style: solid;
}

.cherry-previewer .info p,
.cherry-previewer .error p,
.cherry-previewer .success p,
.cherry-previewer .warning p {
  font-size: 16px;
  white-space: pre-line;
  margin: 0;
  padding: 0;
}


.cherry-previewer div[data-type=codeBlock] pre[class*=language-] {
  position: relative; 
  padding: 30px 5px 10px 10px !important;  
  overflow-y: hidden;
}

.cherry-previewer div[data-type=codeBlock] pre[class*=language-]::before {
  position: absolute;
  top: 10px;
  left: 15px;
  width: 12px;
  height: 12px;
  overflow: visible;
  font-weight: 700;
  font-size: 16px;
  line-height: 12px;
  white-space: nowrap;
  text-indent: 75px;
  background-color: var(--chun-error-color);
  border-radius: 16px;
  box-shadow: 20px 0 var(--chun-warning-color), 40px 0 var(--chun-success-color);
  content: attr(codetype);
}
 

  

div::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

div::-webkit-scrollbar-track {
  border-radius: 2px;
}

div::-webkit-scrollbar-thumb {
  border-radius: 2px;
}